package com.example.choupaiapp.main.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2019/12/13.
 */

public class SignTaskBean implements Serializable {

    /**
     * msg : success
     * code : 0
     * earningsCard : {"id":1,"userId":1,"type":1,"beginTime":"2019-12-12 17:08:44","endTime":"2019-12-14 17:08:47","createTime":"2019-12-13 17:08:50"}
     * banner : ["111","222","333","444","555"]
     * newList : [{"id":1,"sign":"perfection","icon":"1","number":10000,"title":"完善资料","comment":"完善个人资料可获得10000能量值","type":1,"status":1,"weight":0,"isShow":1},{"id":2,"sign":"attention","icon":"1","number":10000,"title":"关注好友","comment":"首页关注可获得10000能量值","type":1,"status":1,"weight":0,"isShow":1},{"id":3,"sign":"invite","icon":"1","number":3,"title":"邀请1位好友","comment":"邀请1位好友可获得现金奖励3元","type":1,"status":1,"weight":0,"isShow":1}]
     * everydayList : [{"id":4,"sign":"share","icon":"1","number":200,"title":"分享给好友","comment":"分享好友可得200能量值","type":2,"status":1,"weight":0,"isShow":1},{"id":5,"sign":"publish","icon":"1","number":200,"title":"发布内容","comment":"发布内容可获得200能量值","type":2,"status":1,"weight":0,"isShow":1},{"id":6,"sign":"look","icon":"1","number":200,"title":"浏览内容","comment":"浏览5分钟可获得200能量值","type":2,"status":1,"weight":0,"isShow":1},{"id":7,"sign":"comment","icon":"1","number":200,"title":"有效评论","comment":"今日首次评论可获得200能量值","type":2,"status":1,"weight":0,"isShow":1},{"id":8,"sign":"like","icon":"1","number":200,"title":"参与点赞","comment":"今日首次点赞可获得200能量值","type":2,"status":1,"weight":0,"isShow":1}]
     * signInDay : 1
     */

    private String msg;
    private int code;
    private EarningsCardBean earningsCard;
    private int signInDay;
    private List<String> banner;
    private List<NewListBean> newList;
    private List<EverydayListBean> everydayList;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public EarningsCardBean getEarningsCard() {
        return earningsCard;
    }

    public void setEarningsCard(EarningsCardBean earningsCard) {
        this.earningsCard = earningsCard;
    }

    public int getSignInDay() {
        return signInDay;
    }

    public void setSignInDay(int signInDay) {
        this.signInDay = signInDay;
    }

    public List<String> getBanner() {
        return banner;
    }

    public void setBanner(List<String> banner) {
        this.banner = banner;
    }

    public List<NewListBean> getNewList() {
        return newList;
    }

    public void setNewList(List<NewListBean> newList) {
        this.newList = newList;
    }

    public List<EverydayListBean> getEverydayList() {
        return everydayList;
    }

    public void setEverydayList(List<EverydayListBean> everydayList) {
        this.everydayList = everydayList;
    }

    public static class EarningsCardBean implements Serializable{
        /**
         * id : 1
         * userId : 1
         * type : 1
         * beginTime : 2019-12-12 17:08:44
         * endTime : 2019-12-14 17:08:47
         * createTime : 2019-12-13 17:08:50
         */

        private int id;
        private int userId;
        private int type;
        private String beginTime;
        private String endTime;
        private String createTime;
        private int isShow;

        public int getIsShow() {
            return isShow;
        }

        public void setIsShow(int isShow) {
            this.isShow = isShow;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }

    public static class NewListBean implements Serializable{
        /**
         * id : 1
         * sign : perfection
         * icon : 1
         * number : 10000
         * title : 完善资料
         * comment : 完善个人资料可获得10000能量值
         * type : 1
         * status : 1
         * weight : 0
         * isShow : 1
         */

        private int id;
        private String sign;
        private String icon;
        private int number;
        private String title;
        private String comment;
        private int type;
        private int status;
        private int weight;
        private int isShow;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }

        public int getIsShow() {
            return isShow;
        }

        public void setIsShow(int isShow) {
            this.isShow = isShow;
        }
    }

    public static class EverydayListBean implements Serializable{
        /**
         * id : 4
         * sign : share
         * icon : 1
         * number : 200
         * title : 分享给好友
         * comment : 分享好友可得200能量值
         * type : 2
         * status : 1
         * weight : 0
         * isShow : 1
         */

        private int id;
        private String sign;
        private String icon;
        private int number;
        private String title;
        private String comment;
        private int type;
        private int status;
        private int weight;
        private int isShow;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }

        public int getIsShow() {
            return isShow;
        }

        public void setIsShow(int isShow) {
            this.isShow = isShow;
        }
    }
}
